package com.yushutao.menu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yushutao.menu.beans.OrderBean;

public interface IOrder {
	public List<OrderBean> getOrderByUserId(int id);
	public List<OrderBean> getAllNeedCookie();
	public void addOrder(OrderBean order);
	public void removeOrder(@Param(value="orderId")int orderId,@Param(value="userId")int userId);
	public void removeAllOrderByUserId(int id);
	
	public void confirmOrderByUserId(int id);
	
	public void finishCook(int id);
}
